import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from './store'
import TypeNav from '@/components/TypeNav'
import '@/mock/serve'
import Carousel from '@/components/Carousel';
import 'swiper/css/swiper.css'
import Pagination from '@/components/Pagination'
Vue.component(Carousel.name,Carousel)
Vue.component('Pagination',Pagination)
Vue.component('TypeNav',TypeNav)


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  router,
  store,
}).$mount('#app')
